package com.tanhua.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum FreezingTimeEnum implements IEnum<Integer> {
    THREE(1,"冻结3天"),
    SEVEN(2,"冻结7天"),
    PERMANENT(3,"永久冻结");

    private  int value ;
    private  String state;

    FreezingTimeEnum(int value, String state){
        this.value = value;
        this.state = state;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String  toString() {
        return this.state;
    }
}
